<!doctype html>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
    <head>
        <%@ taglib prefix="perm" uri="http://wanhuakeji.com/permission" %>
        <%@ include file="/WEB-INF/views-jsp/include/taglib/taglib.jsp" %>
        <%@ include file="/WEB-INF/views-jsp/include/script/script.jsp" %>
        <%@ include file="/WEB-INF/views-jsp/include/link/link.jsp" %>
        <script type="text/javascript"
                src="${path}/html/js/js-jsp/st/store/inAndOutList.js?v=<%out.print(Math.random());%>"></script>
        <script>
            searchBtn = <perm:hasPermission permission="rules:st_store_find"/>;
        </script>
    </head>
    <body style="height:100%; ">
        <input type="hidden" id="stId" value="${stId}">
        <div class="easyui-layout" fit="true" space="2">
            <div region="north" style="height:100%;">
                <div class="easyui-layout" fit="true" space="2">
                    <div region="north" class="searchToolBar" border="false" style="height: 120px;">
                        <fieldset>
                            <legend>系统操作</legend>
                            <form id="inAndOutListQueryForm" name="inAndOutListQueryForm" method="post">
                                <table class="searchTable">
                                    <tr class="searchTableTr">
                                        <td>
                                            <input class="easyui-combobox" label="类型：" labelWidth="82" labelposition="left" editable="false" id="stoType" style="width:90%; height: 32px"
                                                   data-options="valueField: 'value',
                                                                   textField: 'label',
                                                                    data: [{
                                                                                label: '--请选择--',
                                                                                value: ''
                                                                            },{
                                                                                label: '出库',
                                                                                value: 'stoOut'
                                                                            },{
                                                                                label: '入库',
                                                                                value: 'stoIn'
                                                                            }]"
                                            />
                                        </td>
                                        <td>
                                            <input class="easyui-textbox" id="stoPerson" label="人员："
                                                   labelWidth="92" labelposition="left"  data-options="prompt:'请输入人员'" style="width:90%;height: 32px">
                                        </td>
                                        <td>
                                            <input class="easyui-datebox" label="开始时间：" labelWidth="82" labelposition="left" data-options="prompt:'请输入开始时间'"
                                                   id="stoStartTime" style="width:90%; height: 32px" editable="false" />
                                        </td>
                                        <td>
                                            <input class="easyui-datebox" label="结束时间：" labelWidth="82" labelposition="left" data-options="prompt:'请输入结束时间'"
                                                   id="stoEndTime" style="width:90%; height: 32px" editable="false" />
                                        </td>
                                    </tr>
                                    <tr class="searchTableTr">
                                        <td>
                                            <input class="easyui-combobox" label="入库方式：" labelWidth="82" labelposition="left" editable="false" id="storeWay" style="width:90%; height: 32px"
                                                   data-options="valueField: 'value',
                                                                   textField: 'label',
                                                                    data: [{
                                                                                label: '--请选择--',
                                                                                value: ''
                                                                            },{
                                                                                label: '流程入库',
                                                                                value: '1'
                                                                            },{
                                                                                label: '填写入库',
                                                                                value: '2'
                                                                            }]"
                                            />
                                        </td>
                                        <td></td>
                                        <td colspan="2" style="width: 50%;">
                                            <!--出入库信息按钮-->
                                            <div class="searchButton">
                                                <div id="inAndOutList_menu"></div>
                                            </div>
                                        </td>
                                    </tr>
                                </table>
                            </form>
                        </fieldset>
                    </div>
                    <!--出入库信息列表-->
                    <div region="center" border="false" style="padding: 0px;">
                        <table id="inAndOutList_dataList"></table>
                    </div>
                </div>
            </div>
        </div>
        <script type="text/javascript" src="${path}/html/js/js-jsp/common-optionBtnArray.js"></script>
    </body>
</html>
